/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.check.tendencydetection.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.modules.sys.entity.User;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 点检倾向性检测Entity
 * @author 刘明星
 * @version 2020-11-08
 */
@Data
public class CheckStandardTendencyDetection extends DataEntity<CheckStandardTendencyDetection> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="任务区域", align=2, sort=1)
	private String taskArea;		// 任务区域
	@ExcelField(title="任务对象", align=2, sort=2)
	private String taskObject;		// 任务对象
	@ExcelField(title="任务信息", align=2, sort=3)
	private String taskMessage;		// 任务信息
	@ExcelField(title="点检方法", dictType="check_method", align=2, sort=4)
	private String checkMethod;		// 点检方法
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="点检时间", align=2, sort=5)
	private Date checkTime;		// 点检时间
	@ExcelField(title="点检员", fieldType=User.class, value="checkPeople.name", align=2, sort=6)
	private User checkPeople;		// 点检员
	@ExcelField(title="流程实例id", align=2, sort=13)
	private String procInsId;		// 流程实例id
	
	public CheckStandardTendencyDetection() {
		super();
	}

	public CheckStandardTendencyDetection(String id){
		super(id);
	}
}